package com.co0964.bean;

public class Product {
	private int pid;
	private String pname;
	private int price;
	private String wr1;
	private String wr2;
	private String wr3;
	private String wr4;
	private String img;
	private int cid;
	
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public String getWr1() {
		return wr1;
	}
	public void setWr1(String wr1) {
		this.wr1 = wr1;
	}
	public String getWr2() {
		return wr2;
	}
	public void setWr2(String wr2) {
		this.wr2 = wr2;
	}
	public String getWr3() {
		return wr3;
	}
	public void setWr3(String wr3) {
		this.wr3 = wr3;
	}
	public String getWr4() {
		return wr4;
	}
	public void setWr4(String wr4) {
		this.wr4 = wr4;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public int getCid() {
		return cid;
	}
	public void setCid(int cid) {
		this.cid = cid;
	}
	
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("pid: " + pid);
		sb.append(", pname: " + pname);
		sb.append(", price: " + price);
		sb.append(", wr1: " + wr1);
		sb.append(", img: " + img);
		sb.append(", cid: " + cid);
		return sb.toString();
	}
}
